projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a253d8
)
axim_gpb: Make a right check of coordinate values.
author
oliskoli
<oliskoli>
Sat, 26 Apr 2008 19:40:23 +0000
(19:40 +0000)
committer
oliskoli
<oliskoli>
Sat, 26 Apr 2008 19:40:23 +0000
(19:40 +0000)
axim_gpb.c
patch
|
blob
|
history
diff --git
a/axim_gpb.c
b/axim_gpb.c
index 6d083cee89bfa4f1671a83fd88352d194e66c30f..a931ba0331a95323d6e22476fc862f25049f1bc8 100644
(file)
--- a/
axim_gpb.c
+++ b/
axim_gpb.c
@@
-104,8
+104,8
@@
decode_buff(const char *buff, route_head *track)
(tm.tm_hour > 23) || (tm.tm_min > 60) || (tm.tm_sec > 60),
MYNAME ": Invalid or unsupported file (invalid time-stamp).");
is_fatal(
- (fabs(wpt->latitude) >
18
0) ||
- (fabs(wpt->longitude) >
9
0),
+ (fabs(wpt->latitude) >
9
0) ||
+ (fabs(wpt->longitude) >
18
0),
MYNAME ": Invalid or unsupported file (lat or/and lon out of range).");
/* post work */